package cn.gqr.service;

import cn.gqr.entity.CartOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient(value = "sobook-order")
public interface RemoteOrderService {

    @RequestMapping("/api/public/insert")
    String insert(@RequestBody CartOrder cartOrder);


}
